/**     
* @Title: MyConfigAttribute.java   
* @Package me.security.example.security   
* @Description: TODO   
* @author xaoyaoyao
* @date 2017年8月23日 下午4:45:23
*/
package me.security.example.security;

import javax.servlet.http.HttpServletRequest;

import org.springframework.security.access.ConfigAttribute;

/**
 * @ClassName: MyConfigAttribute
 * @Description: TODO
 * @author xaoyaoyao
 * @date 2017年8月23日 下午4:45:23
 * 
 */
public class MyConfigAttribute implements ConfigAttribute {

	private static final long serialVersionUID = -2940058100917131032L;
	
	private final HttpServletRequest httpServletRequest;

	public MyConfigAttribute(HttpServletRequest httpServletRequest) {
        this.httpServletRequest = httpServletRequest;
    }

	@Override
	public String getAttribute() {
		return null;
	}

	public HttpServletRequest getHttpServletRequest() {
		return httpServletRequest;
	}

}
